#include <QCoreApplication>
#include <iostream>
using namespace std;

int main(int argc, char *argv[])
{
    int chislo;
    cout<<"Vvedi tseloe chislo \n";
    cin>>chislo;
    if (chislo>0)
        chislo=chislo+1;
    else
        chislo=chislo-2;
    cout<<"Otvet = "<<chislo<<"\n";
    QCoreApplication a(argc, argv);

    return a.exec();
}
